
print("hello.111")
print("hello.222")
print("hello.333")
print("hello.444")
print(1+3)


s = input()
if s[-2]=="e" and s[-1]=="r":
    s=s[0:-2]
    print(s)
elif s[-2]=="l" and s[-1]=="y":
    s=s[0:-2]
    print(s)
elif s[-3]=="i" and s[-2]=="n" and s[-1]=="g":
    s=s[0:-3]
    print(s)
else:
    print(s)

